<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
.header {
	height: 50px;
	font-size: 30px;
	line-height: 30px;
	padding-left: 50px;
	padding-top: 10px;
	font-weight: bold;
	border-radius: 6px 6px 0px 0px;
	color: white;
	margin-bottom: 10px;
}

td {
	padding: 10px 5px 5px 10px;
}

.a {
	background-image: url(images/image/j.png);
	background-repeat: no-repeat;
	background-size: 100%, 100%;
}

.b {
	background-image: url(images/image/h.png);
	background-repeat: no-repeat;
	background-size: 100%, 100%;
}

input {
	border: 1px solid #9999cc;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
</head>
<body class="a">
	<div style="width: 600px; height: 500px; position: absolute;
	 left: 50%; top: 50%; margin-top: -300px; margin-left: -300px;
	  box-shadow: 0px 0px 8px gray; border-radius: 6px; 
	   border: 1px solid gray">
	   		<form action="zhuce" method="POST">		
			<div class="header">欢迎注册会员</div>		
				<table style="margin-left:120px;">
					<tr>
						<td>姓名</td>
						<td><input class="txt" name="uName"></td>
					</tr>
					<tr>
						<td>性别</td>
						<td><input type="radio"
							name="uSex" value="男">男 <input type="radio"
							name="uSex" value="女">女</td>
					</tr>
					<tr>
						<td>年龄</td>
						<td><input class="txt" name="uAge" onkeyup="value=value.replace(/[^0-9]/g,'')" onpaste="value=value.replace(/[^0-9]/g,'')" oncontextmenu = "value=value.replace(/[^0-9]/g,'')"onkeyup="value=value.replace(/[^0-9]/g,'')" 
						onpaste="value=value.replace(/[^0-9]/g,'')" oncontextmenu = "value=value.replace(/[^0-9]/g,'')"></td>
					</tr>
					<tr>
						<td>出生日期：</td>
						<td><input onfocus="WdatePicker()"  class="txt"  name="uDate"></td>
					</tr>
					
					<tr>
						<td>地址</td>
						<td><input class="txt" name="uAddress" 
						onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onpaste="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" oncontextmenu = "value=value.replace(/[^\u4E00-\u9FA5]/g,'')"></td>
					</tr>
					<tr>
						<td>电话</td>
						<td><input class="txt" name="uPhone" 
						onkeyup="value=value.replace(/[^0-9]/g,'')" onpaste="value=value.replace(/[^0-9]/g,'')" oncontextmenu = "value=value.replace(/[^0-9]/g,'')"></td>
					</tr>
					<tr>
						<td>密码</td>
						<td><input class="txt" type="password" name="uPassword" 
						onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')" onpaste="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')" oncontextmenu = "value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')"></td>
					</tr>

					<tr>
						<td>确认密码</td>
						<td><input class="txt" type="password" name="uPassword" 
						onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')" onpaste="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')" oncontextmenu = "value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')"></td>
					</tr>
					<tr>
						<td colspan="2" align="center"><input type="submit"
							value="注册"> <input type="reset" value="重置"></td>
					</tr>
					<tr>
					<td align="center" colspan="2" class="error">${error}</td>
				</tr>
					
				</table>
		</form>
	</div>
</body>
</html>